import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {path:'/',redirect:'/text'},
    {path:'/index',component:import('@/views/frontPage/index.vue')},
    {path:'/viewLog',component:import('@/views/viewLog/index.vue')},
    {path:'/text',component:import('@/views/viewLog/text.vue')}
  ]
})

export default router
